package server

import (
	"exam_jxk/pkg/models"
	"github.com/gomodule/redigo/redis"
	"go.uber.org/zap"
	"gorm.io/gorm"
)

// 服务管理结构体，去dao层化
type Service struct {
	db        *gorm.DB
	logger    *zap.Logger
	config    *models.ServerConfig
	redisPool *redis.Pool
}
